﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mComment.ascx.cs" Inherits="EKECMS.Controls.mComment" %>
<div class="ChannelName"><h1>评论信息</h1></div>
<asp:Repeater ID="RepList" runat="server" >
<headertemplate><ul class="guestbooks"></headertemplate>
<ItemTemplate>
<li>
<h1><%# Eval("Nick")%><span><%# Eval("addTime","{0:yyyy-MM-dd HH:mm:ss}")%></span></h1>
<div><%# Eval("NR")%></div>
<%# Eval("Re").ToString().Length == 0 ? "" : "<p>管理员回复：" + Eval("Re") + "</p>" %>
</li>
</ItemTemplate>
<footertemplate></ul></footertemplate>
</asp:Repeater>
<div id="pages"><ev:ePageControl ID="ePager1" PageSize="5" PageNum="3" Mode="mobile" runat="server" /></div>


<asp:Literal ID="LitNoMsg" runat="server" />
<div class="clear"></div>
<div class="ChannelName"><h1>发表评论</h1></div>
<form name="frm" id="frm" method="post" action="">
<input type="hidden" name="act" id="act" value="save" />
<input name="id" type="hidden" id="id" value="<%=id%>">
<ul class="sguestbooks">
<li><label><font color="#FF0000">*</font>&nbsp;您的网名：</label><input type="text" name="f1" id="f1" style="width:65%;" notnull="true" fieldname="您的网名" /></li>
<li><label>电子邮件：</label><input type="text" name="f2" id="f2" style="width:65%;" /></li>
<li><label for="content"><font color="#FF0000">*</font>&nbsp;评论内容：</label><textarea name="f3" id="f3" style="width:65%;" notnull="true" fieldname="评论内容"></textarea></li>
<li><label><font color="#FF0000">*</font>&nbsp;验证码：</label><input type="text" name="yzm" id="yzm" style="width:30%;" notnull="true" fieldname="验证码" onFocus="getmrnd();" /><img id="rndpic" src="../images/none.gif" width="45" height="18" align="absmiddle" onClick="getmrnd();" style="cursor:pointer;"></li>
<li><div style="margin:10px;"><input class="btn" type="submit" name="Submit" value="提交" /></div></li>
</ul>
</form>